package com.csc.spring;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;

import org.springframework.stereotype.Repository;

@Repository
public class HelloWorld {
	
	public HelloWorld() {
		System.out.println("Hello World Contructor");
	}
	
	public void hello() {
		System.out.println("Hello World");
	}
	
	@PostConstruct
	public void init()
	{
		System.out.println("Init Hello World");
	}
	
	@PreDestroy
	public void destroy()
	{
		System.out.println("Destroy Hello World");
	}
}
